<?php
/**
 * 注册
 * (c) Copyright 2018 void9main. All Rights Reserved. 
 * 2018-05-05
 */
function classLoader($class)
{
    $path = str_replace('\\', DIRECTORY_SEPARATOR, $class);
	$path = str_replace('lib',"", $path);
    $file = __DIR__ .$path . '.php';
    if (file_exists($file)) {
        require_once $file;
    }
}
spl_autoload_register('classLoader');